using System;
using System.Collections.Generic;
using LinFu.IoC.Configuration;

namespace CoreEx.Samples.DomainModel.Implementation
{
	[Implements(typeof(ISupplier))]
	[Serializable]
	public class Supplier : ISupplier
	{

		#region Private Members

		private readonly IList<IProduct> _products = new List<IProduct>();

		#endregion

		public int SupplierID { get; set; }
		public string CompanyName { get; set; }
		public string ContactName { get; set; }
		public string ContactTitle { get; set; }
		public string Address { get; set; }
		public string City { get; set; }
		public string Region { get; set; }
		public string PostalCode { get; set; }
		public string Country { get; set; }
		public string Phone { get; set; }
		public string Fax { get; set; }
		public string HomePage { get; set; }
		public IList<IProduct> Products 
		{
			get { return _products; }
		}
	}
}
